Skip to content

fix: correct footer height calculation when bottom offset is applied#1503

Open
ParthAggarwal16 wants to merge 1 commit intointernetarchive:masterfrom
ParthAggarwal16:fix-1502-scrollbar
Open

fix: correct footer height calculation when bottom offset is applied#1503
ParthAggarwal16 wants to merge 1 commit intointernetarchive:masterfrom
ParthAggarwal16:fix-1502-scrollbar

Conversation

@ParthAggarwal16
Copy link

@ParthAggarwal16 ParthAggarwal16 commented Jan 30, 2026

this PR fixes an issue where the footer height calculation could be incorrect when a CSS bottom offset is applied, leading to layout and scrollbar issues

the logic has been simplified to consistently measure the footer element itself and safely account for its bottom offset, avoiding reliance on mode specific elements and guarding against missing refs

screen recording demonstrating the behaviour after the fix attached

Closes #1502

Screen.Recording.2026-01-30.at.1.54.15.PM.mov

@ParthAggarwal16
Copy link
Author

Hey @cdrini , can you take a look at this when you get the chance, thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrollbar in 1up clipped by navbar

1 participant